package com.qumitech.visualnovel.datasource.app;

import com.qumitech.visualnovel.model.dao.app.TrendCommentDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface TrendCommentDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TrendCommentDO record);

    int insertSelective(TrendCommentDO record);

    TrendCommentDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TrendCommentDO record);

    int updateByPrimaryKey(TrendCommentDO record);

    Integer getReviewTrendCommentCount(@Param("startTime") String startTime,
                                       @Param("endTime") String endTime);
}